﻿using System;
using System.Collections.Generic;
using System.Text;
using YouHP.Utility;
using System.Web;

namespace YouHP.Pages.Member
{
    public class MemberBasePage : BasePage
    {
        protected override void ShowPage()
        {
            base.ShowPage();

            if (UserData.Id <= 0)
            {
                AddErrLine("请您登录");
                string loginUrl = this.GetUrl("login.aspx");
                ResponseHelper.Redirect(loginUrl);
            }
        }
    }
}
